Latest Questions

How do I use any of the "CommonMark" modules to pass options to the commonmark library?

I need help getting a clue. I think my paltry experience compiling C code is a roadblock to understanding how to use some of the Raku modules for using the inte

how can i view .obj 3d model with .mtl file (without engine) in vb6 (needs to be fast because models bigger than 1 km)

how can i view .obj 3d model with .mtl file (without engine) in vb6 (needs to be fast because models bigger than 1 km I search but nothing solves this question

What is a "projection" and how does it relate to a StreamReader?

I'm receiving RecordBatches serialized as bytes and I'm trying to de-serialize into RecordBatches. Using StreamReader::try_new() and passing in the byte data an

How to mock a constructor which is throwing a IOException with mockito-inline?

How can i mock the next lines: Workbook templateWorkBook = null; try { templateWorkBook = new XSSFWorkbook(templateWithoutEvents); } catch (IOException ex){

AutoDesk Forge Viewer dbId / externalId change without interaction

We're having an intermittent issue that just started two weeks ago, where the externalId and dbId are being reassigned over the weekend to different objects wit

MySQL - Fetch millions of data in chunk with constantly changing data

Below is the schema of my table A. CREATE TABLE A ( NAME VARCHAR(255), CREATED_AT DATETIME DEFAULT CURRENT_TIMESTAMP, UPDATED_AT DATETIME DEFA

Discord.net Send A Slash Command With Bot

I'm trying to have my bot simply send a slash command to a specific discord channel. The command would be read by another bot and executed as needed. Is this po

Does the code load the data on the linked list?

Does the code load the data on the linked list? and the printing method to verify that the data is present in the linkedlist, is it correct? This is the data fo

How to fix gradle issue Val cannot be reassigned after gradle upgrade

I have upgraded my android gradle to use latest 7.1.1 distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip after updated libraries t

Ant Design's Time Picker color

Is there an easy and quick way to modify these colors? Thanks in advance

Unity Scene Corrupted?

I'm working on a Unity game in school and it was working fine until a few days ago when the project would not open. I had left my project open after I left the

ndb.put_multi_async with cloud ndb

The Google cloud ndb documentation doesn't say much about async operations. In the old days, I would do this @ndb.toplevel @flask.route('/', methods=['GET']) de

Add comments to delta

If a pyspark dataframe is reading some data from a table and writing it to azure delta lake Can we add comments to this newly written file? For e.g Df = sql("se

Slow prediction speed for translation model opus-mt-en-ro

I'm using the model Helsinki-NLP/opus-mt-en-ro from huggingface. To produce output, I'm using the following code: inputs = tokenizer( questions,

Unable to Connect to SFTP through paramiko

I am trying to establish a connection with an SFTP with paramiko. I was able to generate the known_hosts file in my local system by using ssh my.domain.com The

Return Elements in the array that start with a specific letter e.g D

I am having issue with my code below. I am new to ruby. I want to return names that only start with the letter D but it just returns all the names. When I try t

Using ant design, how can i implement a text area as a search?

I'm trying to create an search input box using antd, but the input box doesnt seem to allow for autosize (when more than one line of text is input, it doesnt ge

Converting SQL Server DataRequest class to NpgSQL

Trying to convert a SQL Server DataRequest class for use with PostgreSQL. Stuck on the DBTypes in this code. Can anyone give me a hand in this conversion? /// &

Wagtail Custom Translatable Menu

I am new to wagtail and i am working with a custom menu. I set up a custom menu class and use a tag to display the menu-items in the templates. This works fine,

Spark write file csv/hive take too much time and performance benchmark

I am having a very simple problem with spark, but there is very little information on the web. I have encountered this problem using both pyspark and scala. The

Encountring very fundamental problem with react, why item.id in my case is increasing by +2?

hi i have just started learning react and facing problems in understanding fundamentals , here i am creating basic todo app question is why item-id in seq of 1,

How to sum up values from specific dropdown only

I have a dropdown as shown below. I need to sum up the values of all the dropdowns that have a specific name as indicated. jQuery(function () { $('select').

Non-nullable enum as generic parameter [duplicate]

I am trying to implement this helper function in C# 7.3: public static T? ToEnum<T>(this string enumName) where T : Enum =>

Getting Segmentation Fault error in C++ code

#include<bits/stdc++.h> using namespace std; //FIRST REPEATING ELEMENT (APPROACH 2) int main() { cout<<"running"; int n; cin>>n;

Material UI Styles

Every time I run npm start in vscode I get weird material UI errors like Module parse failed: D:\Websites\rugprints\rugprints\node_modules\@mui\material\node\st

how to copy docker images from nexus docker repo to aws ecr in jenkins pipeline

I have requirement to copy all nexus images to aws ece but not sure how to do it how to copy docker images from nexus docker repo to aws ecr in jenkins pipeline

Remove args if request_uri begins with specific strings/regex (with some exceptions) - Nginx

I want to redirect (301) several locations if they have query params at same locations without query params, but with some exceptions. For example, I want these

How to remove the space under the elevated button at the bottom of the screen?

import 'package:flutter/material.dart'; class AddPlaceScreen extends StatefulWidget { static const routeName = '/add-place'; @override _AddPlaceScreenSt

http error 400 with esp8266 when trying to send a JSON objekt

Hej I wish to send a json objekt from my esp8266 to a SQL database which works when i test it with postman. The problem occurs when I try sending it from esp826